home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
text
/
edit
/
ConvertWW.readme
< prev
next >
Wrap
Text File
|
1999-03-02
|
3KB
|
114 lines
Short: Wordwrap converter script for CED
Author: ben@bmatthew.demon.co.uk (Ben Matthew)
Uploader: ben@bmatthew.demon.co.uk (Ben Matthew)
Type: text/edit
INTRO
-----
After a discussion on one of the newsgroups I have decided to release
this simple, yet bloody useful to some (!), arexx script for CygnusED
(should be ok with 3.5 and higher).
The WordWrap feature of CygnusED merely adds a newline in when you reach
the right border. Whilst this is fine for some purposes (e.g: writing
this aminet readme file) other purposes it is not.
For example I think CygnusED is quite wonderful so I'd happily use it
for doing letters or documents before loading them into FinalWriter.
For this you need proper word-wrapping with no extra newlines.
Also for Amigaguides you shouldn't have lots of newlines for paragraphs
of text (it assumes users have the same screen width). Generally bad
practice - you should turn on wordwrapping and use one-line paragraphs.
USAGE
-----
Install into cedscripts as any other rexx script. Then add a new rexx
script in CygnusED (point to the script file). Lets say you installed
it as command 4 (for arguments sake).
Now turn on wordwrapping and type your document so that it's visually
pleasing. Best save a backup at this point! :)
Now either block select a paragraph of text and hit F4 or just hit F4.
If you don't select anything the script will convert the whole shabang.
Good for documents - bad for Amigaguides ;-)
And thats it.
EXAMPLE
-------
(Set with a very small right-hand margin!)
The rain in spain falls
mainly on the plane.
This is a quick test to
see whether my script
works.
This is the third
paragraph.
This is the fourth
paragraph.
This is the fifth
paragraph.
Converts to:-
The rain in spain falls mainly on the plane.
This is a quick test to see whether my script works.
This is the third paragraph.
This is the fourth paragraph.
This is the fifth paragraph.
RELEASE NOTES
-------------
I've tried to cover as many situations as my imagination would stretch
(wrapping with a spare space before the newline or without, etc.) but
you can probably break it somehow quite easily.
I don't claim this is perfect but it works for me.
I hereby release this script and the contents of this archive herein
as FREEWARE. You may distribute it freely and on any medium.
URL: http://www.bmatthew.demon.co.uk/amiga/ced
Ben Matthew
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2422 1175 51.4% 26-Jan-99 14:03:50 ConvertWW.readme
648 353 45.5% 26-Jan-99 14:07:26 ConvertWW.ced
-------- ------- ----- --------- --------
3070 1528 50.2% 26-Jan-99 18:05:38 2 files